package com.czy.ekp.util;


/**
 * 返回结果枚举值
 */
public enum ResultEnum {

    SUCCESS("000000", "成功"),
    FAILURE("000001", "失败"),


    UNLOGIN("000002", "用户未登录"),
    EXCEPT("000003", "系统异常"),
    PARAMETER_CHECK("000004", "参数校验失败");

    //TODO: 枚举其它返回值

    private String code;
    private String message;

    ResultEnum(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getmessage() {
        return message;
    }

    public void setmessage(String message) {
        this.message = message;
    }
}
